package b2b;

import cn.sh.yhk.Application;
import cn.sh.yhk.service.basic.JdbcService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.io.IOException;

/**
 * @Auther: adminyhk
 * @Date: 2018/12/7 10:22
 * @Description:
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class KafkaSender {

    @Resource
    JdbcService jdbcService;

    @Test
    public void init() throws IOException {
        jdbcService.initpp();
    }
}
